package com.scwatch.ext.service;

import com.scwatch.common.orm.RowSide;
import com.scwatch.ext.domain.LiveBroadcast;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

import java.util.Map;

public interface LiveBroadcastService {
    public Page<LiveBroadcast> findAll(Integer siteId, Map<String, String[]> params, Pageable pageable);

    public RowSide<LiveBroadcast> findSide(Integer siteId, Map<String, String[]> params, LiveBroadcast bean, Sort sort);

    public LiveBroadcast get(Integer id);

    public LiveBroadcast save(LiveBroadcast bean, Integer siteId);

    public LiveBroadcast update(LiveBroadcast bean, Integer[] id, String[] title);

    public LiveBroadcast delete(Integer id);

    public LiveBroadcast[] delete(Integer[] ids);
}
